﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.SharePoint;
using DVK.SP2007.Constants;
using DVK.SP2007.UniversalClient;

namespace DVK.SP2007
{
    /// <summary>
    /// Allowes creation of custom mapped metadata providers for MappedMetadataViewer or others. 
    /// </summary>
    public interface IMappedMetadataProvider
    {
        /// <summary>
        /// Gets the mapped metada.
        /// </summary>
        /// <param name="mappingLevel">The mapping level.</param>
        /// <param name="identifier">The identifier.</param>
        /// <returns>a list of mapped metadata.</returns>
        List<MappedMetadata> GetMappedMetada(
                                Fields.DvkMappingLevel.DvkMappingLevelChoices mappingLevel,
                                string identifier
                             );
    }
}
